import logging.Appender;
import logging.ConsoleAppender;
import logging.LogcLogger;
import logging.LoggerFactory;

/**
 * Created on 2018/12/16.
 */
public class MainTest {

    public static void main(String[] args) {
        LogcLogger logcLogger = new LogcLogger();
        Appender appender = new ConsoleAppender();
        logcLogger.setAppender(appender);
        logcLogger.error("123");

        System.out.println();

        LoggerFactory.getLogger("123").error("234");
    }
}
